﻿<%@ Page Language="C#" MasterPageFile="~/Doanh Nghiệp/MasterPage.master"  AutoEventWireup="true" CodeFile="Doanhnghiep_Mathang_insert.aspx.cs" Inherits="Doanh_Nghiệp_Doanhnghiep_Mathang_insert" Title="Untitled Page" ValidateRequest="false" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%" cellspacing="1" cellpadding="3" border="0" bgcolor="#cccccc"> 
    <tr>
        <td colspan="2" style="color: #993300; background-color: #cccccc">
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; Sản Phẩm Mới</td>
    </tr>
               <tr>
                    <td style="width:30%">Tên sản phẩm</td>
                    <td style="width:67%">
                        <asp:TextBox ID="lit_TenSP" runat="server" TextMode="MultiLine" Width="282px"></asp:TextBox>
                        </td>
                </tr> 
    <tr>
        <td style="width: 30%">
            Lời giới thiệu chung
        </td>
        <td style="width: 67%">
            <asp:TextBox ID="txtloaigioithieu" runat="server" Height="55px" TextMode="MultiLine"
                Width="451px"></asp:TextBox>&nbsp;
        </td>
    </tr>
                <tr>
                    <td style="width:30%">Loại sản phẩm</td>
                    <td style="width:67%">
                        <asp:DropDownList ID="ddl_LoaiSP" runat="server">
                        </asp:DropDownList>
                       
                        </td>   
                     
                </tr>   
                <tr>
                    <td style="width:30%">Đơn Giá</td>
                    <td style="width:67%">
                        <asp:TextBox ID="lit_dongia" runat="server"></asp:TextBox>
                        </td>
                </tr>           
                   <tr>
                    <td style="width:30%">Số Lượng Phiếu Bán</td>
                    <td style="width:67%">
                        <asp:TextBox ID="lit_slphieuban" runat="server"></asp:TextBox>
                        </td>
                  
                   <tr>
                    <td style="width:30%; height: 22px;">Giảm </td>
                    <td style="width:67%; height: 22px;">
                        <asp:TextBox ID="lit_giamgia" runat="server"></asp:TextBox>
                        </td>
                </tr>   
                
                 <tr>
                    <td style="width:30%">Phí Giao Hàng</td>
                    <td style="width:67%">
                        <asp:TextBox ID="lit_phigiaohang" runat="server"></asp:TextBox>
                        </td>
                </tr>   
                <tr>
                    <td style="width:30%">Chiết Khấu</td>
                    <td style="width:67%">
                        <asp:TextBox ID="lit_chietkhau" runat="server"></asp:TextBox>
                        </td>
                </tr>    
                 <tr>
                    <td style="width:30%; height: 22px;">Khu Vực</td>
                    <td style="width:67%; height: 22px;">
                        <asp:DropDownList ID="ddl_Khuvuc" runat="server">
                        </asp:DropDownList>
                        &nbsp;
                        <asp:Label ID="Label1" runat="server" Text="Label" Visible="False"></asp:Label></td>
                </tr>  
                 <tr>
                    <td style="width:30%; height: 22px;">Bắt Đầu</td>
                    <td style="width:67%; height: 22px;">
                        <asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
                        &nbsp;
                        <asp:Label ID="lbbatdau" runat="server" Font-Italic="True" ForeColor="Red" Text="Chưa Chọn Ngày Bắt Đầu" Visible="False" Width="201px"></asp:Label>
                        &nbsp;&nbsp;<asp:Label ID="lbngaybat_dau" runat="server" Font-Italic="True" ForeColor="Red"
                            Text="ngày bắt đầu < ngày kết thúc" Visible="False"></asp:Label>
                    </td>
                </tr>  
                <tr>
                    <td style="width:30%; height: 229px;">Kết Thúc</td>
                    <td style="width:67%; height: 229px;">
                        &nbsp;
                        <asp:Calendar ID="calenketthuc" runat="server"></asp:Calendar>
                        &nbsp;
                        <asp:Label ID="lbketthuc" runat="server" Font-Italic="True" ForeColor="Red" Text="Chưa Chọn Ngày Kết Thúc" Visible="False" Width="198px"></asp:Label></td>
                </tr>   
                <tr>
                    <td style="width:30%; height: 22px;">Tình Trạng</td>
                    <td style="width:67%; height: 22px;">
                        <asp:DropDownList ID="ddl_tinhtrang" runat="server">
                        </asp:DropDownList>
                        </td>
                </tr>   
                       <tr>
                           <td style="width: 30%">
                               Đặc điểm nổi bật
                           </td>
                           <td style="width: 67%">
                               <FTB:FreeTextBox ID="ftb_ddnoibat" runat="server">
                               </FTB:FreeTextBox>
                               </td>
                       </tr>
                       <tr>
                           <td style="width: 30%; height: 25px">
                               Điều kiện sử dụng
                           </td>
                           <td style="width: 67%; height: 25px">
                               <FTB:FreeTextBox ID="ftb_ddsudung" runat="server">
                               </FTB:FreeTextBox>
                               </td>
                       </tr>
                       <tr>
                           <td colspan="2" align="center">
                           <asp:Button ID="btn_them" runat="server" Text="Thêm sản phẩm" OnClick="btn_them_Click"/></td>
                       </tr>
                       <tr>
                           <td colspan="2" align="center" style="color: red; height: 13px;">
                               Chi Tiết Hình Ảnh</td>
                       </tr>
                       <tr>
                           <td style="width: 30%; height: 75px;">
                               Hình Ảnh :</td>
                           <td style="width: 67%; height: 75px;">
                        
                           <asp:Image ID="img_Hinhanh" runat="server" Height="65px" Width="78px"/>
                               &nbsp;&nbsp;
                        <asp:FileUpload ID="fu_Hinhanh" runat="server" class="multi"/></td>
                       </tr>
                       <tr>
                           <td style="width: 30%; height: 23px;">
                           </td>
                           <td style="width: 67%; height: 23px;">
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Upload Hình Lên Server" /></td>
                       </tr>
                       <tr>
                           <td style="width: 30%">
                           Mô tả chi tiết mặt hàng
                           </td>
                           <td style="width: 67%">
                        <FTB:FreeTextBox ID="lit_mota" runat="server">
                        </FTB:FreeTextBox>
                           </td>
                       </tr>
                       <tr>
                           <td colspan="2" align="center"> 
                               <asp:Button ID="Button2" runat="server" Text="Mô tả chi tiết" OnClick="Button2_Click" /></td>
                       </tr>
                <tr>
                    <td style="height: 24px; background-color: #cccccc;" colspan="2" align="center"></td>
                </tr>
               
            </table>
</asp:Content>

